from cApp import cApp
from c_screener_mode import c_screener_mode
from InnerGear import *
import cBasicSubmenu
import cDestructoid
import cDungeonPlay
import cCredits
import cOptionsScreen

settings=InnerGear()
destructo=cDestructoid.cDestructoid()
#settings.locali='en'
credits=cCredits.cCredits()
credits.file='credits.locali'
options=cOptionsScreen.cOptionsScreen()#cBasicSubmenu.cBasicSubmenu()
options.file='options.locali'
title_menu=cBasicSubmenu.cBasicSubmenu()
title_menu.music=['title.ogg']
pause_menu=cBasicSubmenu.cBasicSubmenu()
pause_menu.includedSubmenus([None,title_menu,destructo])
pause_menu.file='pause_menu.locali'
dPlay=cDungeonPlay.cDungeonPlay()
dPlay.music=['ambient1.ogg','ambient4.ogg']
title_menu.includedSubmenus([dPlay,options,credits,destructo])
title_menu.file='title_menu.locali'
dPlay.pause_submenu=pause_menu
settings.screenStack.append(destructo)
#settings.screenStack.append(dPlay)
settings.screenStack.append(title_menu)
app = cApp(settings)
app.main()